
const router = require('koa-router')();
const {
  getActivityService,
  getFishService
} = require('../../service/gemServer');

//获取活动数据
router.get("/api/gem/getActivityList", async (ctx, next) => {
  let params = ctx.request.query;
  await getActivityService(ctx, params);
})

router.get("/api/gem/getFishList", async (ctx, next) => {
  let params = ctx.request.body;
  await getFishService(ctx, params);
})

module.exports = router;

